package com.system.server;

import com.system.pojo.Student;
import com.system.pojo.StudentVO;
import exception.AddStudentError;

import java.util.List;

/**
 * @Author: E-mail:
 * @Version: 创建时间：2019年04月09日21:15
 * @Description: <描述>
 */
public interface StudentService {

    /**
     * 查找所有
     * @return
     */
    public List<Student> findAll();

    public List<Student> findStudentByName(String findByName);

    void addStudent(StudentVO student) throws AddStudentError;

    Boolean checkStudentID(Integer userID);

    Student findStudentByID(Integer id);

    void modifyStudent(Student student);

    void removeStudent(Integer id);
}
